﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            TaskNPC a1 = new TaskNPC("村长",NPCType.Task,"帮我去村外采3个蘑菇");
            a1.Speak();
            TaskNPC a2 = new TaskNPC("猎人", NPCType.Task, "去击杀5只小猪");
            a2.Speak();
            TaskNPC a3 = new TaskNPC("商人", NPCType.Task, "帮我送封信给村长");
            a3.Speak();

            ShopNPC b1 = new ShopNPC("商人", NPCType.Shop, "小刀");
            ShopNPC b2 = new ShopNPC("商人", NPCType.Shop, "猪的皮毛");
            ShopNPC b3 = new ShopNPC("商人", NPCType.Shop, "仙丹");
            b1.Speak();
            b2.Speak();
            b3.Speak();

            SmithyNPC c1 = new SmithyNPC("铁匠", NPCType.Iron, "强化");
             c1.Speak();
             
            
            SmithyNPC c2 = new SmithyNPC("铁匠", NPCType.Iron, "修补");
                c2.Speak();
            SmithyNPC c3 = new SmithyNPC("铁匠", NPCType.Iron, "打造");
                c3.Speak();
        }
    }
}
